Inverted matrix caching using FP