Added in code to calculate ideal pitches based on projector width and height