ongoing work fixing phils pyramid_model from AGX