SolidMatrix: Expose add_entry to Python for unit test purposes