working version of njst
updated phybase.py