public function crossProduct(Vector $B)
{
if ($B->getN() !== 3 || $this->n !== 3) {
throw new Exception\VectorException('Vectors must have 3 items');
}
$s1 = $this->A[1] * $B[2] - $this->A[2] * $B[1];
$s2 = -($this->A[0] * $B[2] - $this->A[2] * $B[0]);
$s3 = $this->A[0] * $B[1] - $this->A[1] * $B[0];
return new Vector([$s1, $s2, $s3]);
}