finished 3D rotation implementation of molecule (finally)