Added prediction function and regularization
Merge pull request #8 from muhammadzaheer/zaheer

Added prediction function and regularization