Added new dot inline functions for vec/double * dot products