some fixes to interpolation code.  also preparing for lightfield linear transformation calculation.