Corrected the banded_matrix bugs and added some more tests
Corrected the banded_matrix bugs and added some more tests