Added fromIntArray and renamed some methods