fixed embarrassing bug in cuda version where bias['0'] was a numpy instead of gnumpy array