Fixed bug with supplying own scaling sigma.