adding linear algebra vector logic to Actor in leadership.js