Updated UI, Added chart trendline

Moved around some of the UI elements to make it look more compact and
neat. Also added a trendline to the generated graphs