Various code for Ovation PBlock algorithms