Finding Maximum Dot (or Inner) Product