Introduced numpy to _calculate_max_track which slightly improved performance