Incorporated functions computing the log-densities into the main kernel, also fixed double* array[size] ---> double array[size] errors.
Incorporated functions computing the log-densities into the main kernel, also fixed double* array[size] ---> double array[size] errors.

brandonckelly/CUDAHM,brandonckelly/CUDAHM