Matrix implementation
intToHour