bug fixing: error in confidence weighted regression predictions