use consistent float type for CIs
refactor internals of lladser CI code

Based on @wasade's recommendations. Removed unnecessary functions in favor of global lookup tables, added more unit tests for error cases, added to lookup table documentation, and added explicit membership checks over try/except blocks.