refactored PDL quaternion rotation for brevity
implemented tutorial 16 in perl
rough cut of tutorial 17