fix for ruby 1.8
fix tests for gsl
fix for narray
fix for nmatrix