Revert "Removing the gsl library"

This reverts commit e74a123983cbd0786b064be74794e8aa7db1cde0.
Reverting to previous version and commiting just before integrating the backward integration portion to gpu