Fix for direction not being correctly set
Enhanced the position calculations

Enhanced the position calculations to support positions between numbers
on the dial