added rest of matrix function signature tests