break up lines for 80char
extensive refactoring and addition of vector operation notation