added files with vector calculation routines