Revised defaults of canvas size

Defaults for canvas height and width is now determined by analyzing the data and multiplying by the step size to generate a canvas that encompasses the whole data set.
Fixed function for finding total number of branches
Merge pull request #2 from pseudocubic/auto-size-canvas

Revised defaults for canvas size