updated haskell script for rotation quaternions
added rotation method for 3d points