Support for projection transformations. Close #7.
Various fixes for input parsing and validation. Close #8.