Added a bunch of function ( find_mat_max, normalization for matrix)
Fixed a bunch of bugs
Working copy