Corrections in iPython notebook