Safest bet for you is to wipe hard drive, destroy networking card and get a new one, change hostname (hopefully it was not your own), get a wireless router anonymously with cash and leave it open and stop using Tor, get a lawyer as soon as police contact you or if you cannot do that in your country say you have no clue what happened.