Updated tutorial

Updated tutorial and model code