Implemented UI and functionality, it seems the values produced are still slightly off though.