Npsjf

there's a whitespace bug. i know.

implemented NPSJF and resolved some warnings I kept getting.