Corrected a signed/unsigned incompatibility in test_coordinate_matrix and vector _implace tests