added layer_coords to piecewise
finished nogamiandli2003
tests for speccon1d_vr  ngami and li