OPT: now working for images with non-axial orientation (issue #59)