added explicit sqrtf to the float version of norm