Added 3D plot of stepwise output.