Changed the type hinting for matrices

* Something weird was happening when using the library in other
projects, ImageUInt8 was always been asked by the compiler.
Removal of unnecessary imported package