Calculates the angle between the hands of a clock