Text this: Modified hat functions: Application in space-time-fractional differential equations with Caputo derivative