changes all function signatures to use CBLAS_INDEX also fixes internal variables to be CBLAS_INDEX all tests are passing