Speedup talwani with numpy array goodness

Apparently I didn't know that you could use array conditionals for indexing and used a `subset = lambda cond: [i for i, istrue in enumerate(cond) if istrue]` function instead. Got 2x speed increase with this.