support for real arithmetic in modified Gram-Schmidt code