cleaned up float complex routines