Fixed bug in Wbinary().  We were comparing a list to float and not np.array to float. Thanks to Fons Adriaensen