Explicit errors on numerical failure of KF components

Currently, the KF can silently produce NaN results. This should be an explicit error using the Result type.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information