Quartic formula, no obvious bugs

This should work. Tell me if I did anything wrong.