Fig imports.
Also import foreach in topographic_corr.R.
Fix dims returned by rasterEngine fun.
Allow passing dotted args to rasterEngine.