finally got the learning algorithm under control, will need more samples though