MAINT: ppoly: refactor evaluations

allocate memory, reshape x, y etc in PolyBase.