corrected some errors in NSE implementation
many fixes and documentation updates. Now working