Cuda code generated plus tested. MM example added