updated documentation for lnp.m