Added GUI sketch and refined Learning algorithm functionality.