[a, nlin, npix, rflag] = rotatev(a) Rotate array so that long dimensions is vertical (line) drection a = input array(npix, nlin, ncol) nlin, npix are after rotation if any flag = 0 no roation, = 1 rotation was performed Author: Peter Burns, 1 Oct. 2008 Copyright (c) 2007 Peter D. Burns