Fix crash in nrm2 tests

This fixes the crash of *nrm2 tests (cf. issue #37) and 
fixes some test results by using the cblas interface for
BLAS on OSX.