function [Mu, Z, Omega, Eprof] = solution(dN, N, S, zsave, p) S = size(szave, 2);