Added type-checking to hom_to_aug()
Defined 2D homography; modified functions to raise ValueErrors instead of printing to stderr