Added new init.
Fixed a typo in arrayFromArray.