Faster direct calculation using "const __restrict__"