minor bugfixes for compilation in gcc and added results files
merge from zahid's commit