Add some documentation to procMems.c