Added modulate -option for CreateWarped

Added the modulate -option for CreateWarped, and related checks for output files. 
Does not alter current functionality if parameter is not given. 

Also, my first github pull request ever :) Hopefully everything works ok.