tried a different version of makeOscillRotMat