Add Lua helper functions

Functions:
`vector.apply(v, func)`
`math.sign(x, limit)`
'limit' means until which number it is counted as zero, this way it's possible to count 0.000001 as zero aswell and not as 1.

A negative limit just inverts the functionality and excludes 0