I was always searching for a simpler way to do vector operations (cross product, dot, length, normalize). And today I found my answer lying within lua. This is my first lua script and (as others already pointed out), it was way easier than I first expected.
I also added an identifier for easy routing. So I hope this might be useful for someone out there and I finally can give back a little something to this great community! :)