Add dot product subroutine; start intersection subroutine.