Changed set vel profile to take only velcoity, do calculations PIC side