Tested member product
Corrected transpose to check bounds and tested
Corrected bound errors