public int getParameter(String paramname){ 
			
			if(paramname == "HoodSize"){return 0;}
			if(paramname == "NextX"){return -1;}
			if(paramname == "NextY"){return -1;}
			if(paramname == "Mat"){ return mat;}
			if(paramname == "Matcount"){ return matcount;}
			if(paramname == "InMode"){return inmode;}
			if(paramname == "OutMode"){return outmode;}
			return -1;}