ADD converting methods for orientations

methods for converting between indices and orientation with the
dependent sum = 0