Init
Added new flags
Changed sqrt(1/x) to 1 / sqrt(x) and moved unneccessary operations
Parallelised using async - no performance gains
Revert "Parallelised using async - no performance gains"

This reverts commit add70487b8537073a9466f1668d5d48db07c8dd0.