Added subimage overlaps, log switch, and a median switch. Closes #45 and Closes #47.