Fix for normalization of gaussian fitting for baseline resolution