Monte carlo completed - modified makefile with Core