Added floorRemainder and fixed floorDivide