Added grayscale histogram function
Moved histogram inside Direct3DInterop class