Faster P2(x, a) implementation
Reduce number of tests for pi_lmo2(x)

pi_lmo2(x) uses a lot of memory
Fastest implementation is now pi_lmo5(x)