First commit

Remember the inverse function isn´t necessary.
Tested and working

I had some problems compiling this function due to not save the script
before executing. Pay attention next time!!!