mulrf compute_cost implementation

Don’t know why it didn’t commit the first time.