calculate_1rm, and calculate_res functions now work

workouts are being generated based upon bodyweight and previous databse entries now. whoooo!