added callback to plotData()
messed around with fitting control