Added background histogram function

Working with show histogram