more useful protected names error raised
look for EP not P. EP must stand for endpoint of the reversed curve. Not sure what P stood for in the original code but P is not found in the resultant sol object