Remove unused imports

Remove unused imports and variables. Also fix some tests redefinitions and remove in-house sklearn fastica.