Liner interpolation

I've steps for linear interpolation.

Please check out the structure et al and let me know!
`3.times` is quite common in ruby but yes your approach is better.