added authorship and licence info for dot_prod functions