About to change 'float' to 'RealType' for testing
Work on finding floating point errors.