added Ac parameter, but commented out, requires a little thought and I havnet applied it  to GPP