Fix window times calculation bug and implement processing of inertial signals