renaming tmp->ptr not to confuse with mpdata::tmp
Merge branch 'master' of github.com:slayoo/mpdata