Reorganized, additions, fixes, and more tests/examples.

Also fixed pt conversion.