Removed duplicate calls to summarization functions
Removed duplicate calls to summarization functions

Instead, we pre-compute them all at the beginning.
This allows us to avoid recomputing values over and over and improves performance.
https://github.com/e-mission/e-mission-docs/issues/688#issuecomment-1000060544

Testing done:
Checked the calls using console logs for a regular refresh:

***Current user entries***

```
Invoked getSummaryDataRaw on  Array(5) with duration
Invoked getSummaryDataRaw on  Array(5) with median_speed
Invoked getSummaryDataRaw on  Array(5) with count
Invoked getSummaryDataRaw on  Array(5) with distance
```

***Two weeks ago entries***

```
Invoked getSummaryDataRaw on  Array(3) with duration
Invoked getSummaryDataRaw on  Array(3) with median_speed
Invoked getSummaryDataRaw on  Array(3) with count
Invoked getSummaryDataRaw on  Array(3) with distance
```

***Aggregate entries***

```
Invoked getSummaryDataRaw on  Array(8) with duration
Invoked getSummaryDataRaw on  Array(8) with median_speed
Invoked getSummaryDataRaw on  Array(8) with count
Invoked getSummaryDataRaw on  Array(8) with distance
```

***Current user entries***

```
Called getDataFromMetrics on  Array(6)
Called getDataFromMetrics on  Array(6)
Called getDataFromMetrics on  Array(6)
Called getDataFromMetrics on  Array(6)
```

***Two weeks ago entries***

```
Called getDataFromMetrics on  Array(7)
Called getDataFromMetrics on  Array(7)
Called getDataFromMetrics on  Array(7)
Called getDataFromMetrics on  Array(7)
```

***Aggregate entries summary***

```
Called getDataFromMetrics on  Array(13)
Called getDataFromMetrics on  Array(13)
Called getDataFromMetrics on  Array(13)
Called getDataFromMetrics on  Array(13)
```

***Aggregate entries per capita***

```
Called getDataFromMetrics on  Array(13)
Called getDataFromMetrics on  Array(13)
Called getDataFromMetrics on  Array(13)
Called getDataFromMetrics on  Array(13)
```

shankari/e-mission-phone,e-mission/e-mission-phone,shankari/e-mission-phone,e-mission/e-mission-phone,shankari/e-mission-phone,e-mission/e-mission-phone,e-mission/e-mission-phone,shankari/e-mission-phone