Modified - maths.cpp
Fix #4 - some aproximations in relativeX and relativeY due to converting from
         floating point data types to integer data types