interpolate parameters (closes #5)

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>