Fix issue with vertical and horizontal origin. Add tests. Update Sandcastle example.
Update CHANGES.md.