Windows VS2015 Compile error - 'conversion from 'double' to 'float' requires a narrowing conversion' (#1329)