Feature diffmat

Closes #994.
Fix spelling error `sicretization` ->  `discretization`