Added an implementation of coordinate descent