SMS: Mid infrared digital holography and terahertz imaging