Improve template Makefile
Improve Makefile for Scalar Product
Solve Scalar Product problem