Fixed #6 cached previous input value
Merge branch 'cached_input_val'
0.1.6