update main

add dot product and cross product code