CBM for a fleet of railway vehicles: infrastructure and algorithms