Fixed CD (needed a bias node). Added daydream function.
Forgot to commit test files previously, so here they are.