dedispersion main function
header file for dedispersion
reading file function (not applied yet)