added single gaussian fit (using mpfit)