Improve performance of inner_product

Implemented simple kernel to perform inner_product, 10x performance gain