Reorganize some calculations. Combine all implicit solutions (those
needing linear algebra) into a single function.