added basic hud vector calculation