* enable sum function to take an argument of dimension for a matrix fulfilling issue #1244
* added sum along a dimension to the unit test coverage for sum
* added information about sum along a dimension to the markdown
* fixed typo in error message
* made formatting chagnes for linter
* add sum to transformed functions