A first function to start with...
Fixed error with defined variables
Fixed unclear line, commenting todo by carina
Merge branch 'convert-vector'