Added fddat
Readded the c-matrix generation
Changed the API and added a new version of fddat