Refactored floats, fixed visual studio project