fixed bug (passing gamask) that prevented plotDsurface working with secrgam fitted object.