attempt at libgsl