Avoid division by 0.
Merge pull request #89 from bpindelski/divnull

Avoid division by 0 in Plot Profile.