delta pal now works!!!!  this is great :)
everything works (or we know why it doesn't) with full temp range
theta working (although had to slightly hack Greig's code: set B_lab (T_orient) to [0,0,1] instead of default [0,0,-1]
gamma working (but again, Greig's code is hacked)
fix indexing issue with gamma
fix Z and Zstar to take segment, instead of full data