Implemented gammaCorrect() in Imageclass.py

Added a method for Gamma Correction/Power Law transform.