Merge pull request #16 from emilyhsia/master

Update input array access in funct
Merge pull request #19 from emilyhsia/master

added support for double type
add a double test case in testsuite