fixed wrong interface
testing not returning a clone of matrix