Added rotate and translate and made a temporary function for creation