updated risk equations + started building GUI