Adding  method in W that calls WSP class for convenience and elegance. Related to issue #226
Fixing doctest of towsp method by including type(wsp)
Fixing doctest of towsp method by including isinstance(wsp, ps.weights.weights.WSP)
Merge pull request #269 from darribas/issue226

Adding towsp method in W