propagation functions separated into new file. Less functions in the Input object for a less messy structure
testing new architecture, material with refractive index now separate from map.
added default cinfiguration