fix sin to cos in notebook