Use unix LF line endings
Remove empty lines from end and beginning of files
Avoid implicit casts from double to float