Added transformation class to facilitate Graphics library.