Updated OBD-II sensor functions for error checking.