Use generics.
Removed unused methods and variables.
Removed unused class.
Removed unused methods and data.
Declare transformPixToBallroom() and transformBallroomToPix() as private.