fix a mistake at vector.line and add gitignore