Accept AbstractVectors for dot() parameters

I ran into an issue where `dot()` was not working because I had mixed vector types.