several fixes

- macro inrange contained copy paste error
- variable point was still unsigned, though point is a signed integer
  array
- local variables neu1 and neu2 had a restrict attribute
- removed a lot of type conversions by making all sizes long long