Minor changes
Merged the adaptive coarsening and refining algorithms into one algorithm which is more efficent
code restructuring