C implementation of the FISTA algorithm