Avoid division by 0.
Merge pull request #90 from bpindelski/rebased/develop/divnull

Avoid division by 0 in Plot Profile. (rebased onto develop)