Some fixes for bug in v1.7.0

Fixes a couple of bugs and adds support for detecting and using openblas instead of Atlas in _dotblas