three dee to new file for rewriting rotations using quaternions