Add nan and inf matrix helpers
Description
- Add analogous helper methods for NaN and Inf matrices as the current Ones and Zeroes methods
- Extends the
miscmatricestest file to include tests for these new helpers
Reference issue
Issue #586
Additional information
First time contributor, any feedback is appreciated and apologies for anything missed
Edited by Jordan Schneider