Fix invalid NA return in VLOOKUP

The VLOOKUP function required the lookup value to be the same type as the return value which has been corrected.

Removed redundant $result variable