Miscellaneous refactoring
Implement farray __setitem__ method