Added rms fit domain test
Added pair fitting and set everything up to return atom indices
Compilation fix
Added license to all files