Adding pthread based parallel implementation of the PARALL update method for the BP inference algorithm.