CLEANUP: add edge aligning directly in AImageAligner. closes #22