Dispersion Compensation of 30GBaud/s NRZ and PAM4 data using integrated Silicon Nitride Gratings