070613: Patrik Jansson: Adding PolyP(2) code