Adding comments, minor changes on mesh code.