added NaN test for rev/matrix/add
added NaN tests for rev/matrix/append_col