fixed latex templates with python raw strings

required for model.model_summary() to work on osx(?) python 2.7.6