Updated batch file and added cubic interpolation