Generalized decrypt hill cipher