messing around with demo
cosine kernel added
minor updates