changed $magnitude-cflonum to use $flhypot