fixed motion params bug, next: plot weights