Merge pull request #128 from pointhi/master

add licence informations and use standard c array declaration