now works with cblas TODO: remove other hardcoded dot product