edit all equations: time as function argument, not subscript. fix p vs theta, fix X_o X_p, fix K_ij