minor ui and structural changes; adding code for analyzing sparse approximation