I made an abstraction which interpolates  two arrays.

check the attachment!
 
--
Aykut Caglayan (PhD)
http://aykutcaglayan.blogspot.com/