close #483 remove static from non storage class functions

Preparation for nvcc with CUDA 6.5+

Closes #483