added np to certain things in notebook from peer review comments