Thank you both Brian and Juan for the references and replies. I also found the following link which might be of help to some.
https://secure.wikimedia.org/wikipedia/en/wiki/Algorithms_for_calculating_variance _______________________________________________ Help-gsl mailing list Help-gsl@gnu.org https://lists.gnu.org/mailman/listinfo/help-gsl