Add vector norm() and cross().

Includes the norm() function from pull request #333.