Add matte implementation with sample and test.
Fixing problems and deficts.
Fixed code and make it a bit clear.
Fixed some code. (delete useless things and add normal command line parser)
Add Invalid Parameters test, change functions parameters.
Add tests.
Renamed variables.
Add regression test.
Solve remarks.
Made rebase.
Add const indentificator.
Merge pull request #35 from VadimLevin/matte_implementation

Matte implementation with sample and test.