performing some mathematical operation on each time steps separately and then subtract the two time steps datas.

Maybe this information will be useful to you How to subtract time(t) data from time(0) data . Force Time filter to extract data for specific steps. Append Attributes filter to combine data. Calculator for operating