Fix determinant function, allow user input, add more radio buttons