[#434] Added a third optional parameter to `worldToLocal` and `LocalToWorld` function to pass an vector object where to set the converted val

this will avoid at least one vector object creation at every single
event triggering