Removed unused variable
Rephrase some comments
Fix more of the 'copy if copy' lines
Remove redundant assignments
Use np.isreal to check interquartile_scale