Fixed infinite loop, use float images

Infinite loop problem caused by "solution" to another perceived problem.  No
longer multiplying by 255 in the conversion to range image, instead keep values
in range [0,1]. Allows use of the float image without needing to convert it to
another format.