add ellipse representation conversions
macro-ify apertures funcs and change names
cleanups and renames in C code
clean up python interface