Fixed issues with division. Still more to come