Fixed warnings and errors in Linear.Vector