included flags and error-codes files to the repo
wrapper matrix class
kmatrix is modified to be a wrapper class that supports const pointer wrapping