Fixed several issues with the invlet update.

1. Made the invlet cache stuff private
2. Removed a duplicate function(whoops!)
3. Use p argument rather than g->u in assign_empty_invlet