linarr function

Linearization of the aggregate replacement ratio