calculating projector size and distance