Fixed it so that it uses the perpendicular components of the vectors
added cumulative vector tables to the git (can be used in gnuplot)