Add options to calculate_poles()