Added first montecarlo test material
merge
fixed bugs