Fixed: vector functions that should return a number (fixes #51).