<p>Looks good to me, my main comments are pretty minor style comments.  I can fix the style after merge and show you what changed if you want, that's a very simple thing for me to do.  Also if you want to add your name to the list of contributors in <code>src/mlpack/core.hpp</code> and <code>COPYRIGHT.txt</code>, please feel free---this is a pretty significant contribution.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/mlpack/mlpack/pull/605#issuecomment-205892745">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFDrFfmS1VAqooaZobVx1EPyx97jHks5p0pQIgaJpZM4H_9Kw.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/pull/605#issuecomment-205892745"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>