Added for GPU computing and for Parallel Implementation