Revert "add dot and norm functions"

This reverts commit 2136dd6096c564a2dc9edef41abdf4b14c8da556.