Added velocity storage to cpmod module