amWaterfall function

Plotting waterfall