Python Improper Number Of Dimensions To Norm