Adding InitFromArray function
Merge branch 'release/v1.0.4' into develop