Started implementing scalar reduction
Basic BLAS2 and BLAS3 template