Parameter and state estimation for an NPZ model