added NaN test for check_matching_dims
added NaN test for check_matching_sizes
added NaN test for check_multiplicable