Fixed bug in Prior.cpp / incorrectly computed shift priors