Solutions to the coursera machine learning class