Added initialize method creating empty arrays for all branch arrays
GH-11: Added method to calculate total number of branches