Added tests for ambient density and fixed bug in PowerLawEnvelope (should not renormalize if rho_0 is explicitly set)