added dot product for matrix to fvar with some tests

still need to test rows_dot_product and cols_dot_products