public static MP Expected <M, R, MP, RF>(this IDensity <IModuleWithExtension <M, R, MP, RF>, M, RF> d)
        {
            var g = d.BaseStructure;
            var embeddedDensity = d.EmbedTo <M, R, MP, RF>();

            return(embeddedDensity.Expected());
        }
        public static RF StdevEmbedded <M, R, MP, RF>(this IDensity <IModuleWithExtension <M, R, MP, RF>, M, RF> d)
        {
            var embeddedDensity = d.EmbedTo <M, R, MP, RF>();

            return(embeddedDensity.Stdev <MP, RF>());
        }