fixed bugs with taring. implementing animated plot