Implemented updateSynapsePermanence
Added skeleton for getMostActiveSegmentForCells
Pass references instead of values