Added matAlloc functions.
Fixed clash