test arrays. clean include

- clean include path.
  (pragma once issue on icc).
- clean icc debug macros
Fix static missing in wrapper tools

- numpy import function should be static
- Fix bug in gcc 4.9