Ruby Simple DFT C-Extension