Triangle solver for mobile devices.