1. fix kernel_matrix in new style. 2. fix the curve animation in gp demo.
Merge pull request #13 from foulwall/kernel_matrix

kernel_matrix