octave scripts for geologic thin sections