add func to get the RK coefs with indexing