fixed division by zero (remove parenthesis); formatted print statements; changed math imports