Fixed bug: when master parameter is passed and variable variance is equal to 0 NA is return in the correct place