Added some dark matter code.