Added jsoncpp, material saving and loading, improved PSSM demo