Continued working on the brake detection algotithm.