Tidied code that gets readings for a graph. Added 404 page. Graph_hours now works.