o adds -pg for Debug build
o fixes issues with tensor(list(1,2,3)) the initial type was not set correctly - I wonder why this did not show up earlier...
o optimization after playing with valgrind
1 : null will increment the line number to 2: and not give output
improved line number error code when input is a file