Started on interpolation

Also removed temp file saving, and cleaned up some logic.