nice typed matrix vector math