Implemented function `dot` (dot product for vectors).
Implemented function `cross` (cross product for vectors).
Fixed #219: implemented function `nthRoot`