moved to geqrt.h