Compacted loop in prediction update
refs #918