Attempted pyBrain implementation...