Tried to change everything to Mat. Not working.
Fixed. Now working.
Merge branch 'matConvert'

Conflicts:
	src/Main.cpp