Fixed small bug in integration plot