Updated the buttord function to be consistent with the other filter

design methods and optimize the order and natural frequencies such that
the passband is just met while maximizing the stopband (or vice versa
for stopband filter).