Revised the dot-product function for efficiency using itertools
Revised the dot-product function for efficiency using itertools

eayoungs/eppy,santoshphilip/eppy,santoshphilip/eppy,eayoungs/eppy,jamiebull1/eppy,jamiebull1/eppy,jamiebull1/eppy,santoshphilip/eppy,eayoungs/eppy