removed test dir from .gitignore
added gamma correcting functionality
test directory