fitnessstudio trainingsplan scipy spatial distance cdist slow