Generalized Band Matrices and their Inverses