Refactored rounding method. Refactored tests accordingly
Trying to fix travis CI still