Added velocity subplot and fixed adaptive calculation of acceleration