print_matrix and load_matrix functions removed, only remains to improve comments