Address a few 'conversion from string constant to char*' warnings.

Clean up formatting.
Modify ChMatrix.h to have its classes properly templated by Real.

Use the template parameter Real throughout.
Switch to using references where appropriate.
Clean up formatting.