added tests for Dot and Cross, also added inl for Dot