Partially ixed indexing and fielding.

Fix EIL/SIL, assignments.
Also updated gitignore