inegrated more functions from OldCodeToBeIntegrated & located what generates the segmentation fault on sdev
Merge branch 'vdev' into develop

Conflicts:
	solverTrash/neighborhoods.cpp
	trash-prob/sdev-trash/trash.cpp
Fixed bug after merge.