tiny octave script for affine projections