Refactoring

Use of min and max.
Remove all values in calls and gos arrays.