updated demo/jjmTools_demo.R