Tesla accused of rigging driving range algorithm