orientation codes
capitalizing to in Eto*
making some bfam_gloidx stuff bfam_locidx. Also handling plus and minus side in
with same code (as opposed to if statement).
splitting inter switch statement into do dimensions