added function to fill nans in matrices
Authored by: kellgeor 2016-07-27
Parent: [r185]
Child: [r187]