An algorithm for the simulation of faulted bearings in non-stationary conditions