Experimented with cleaner code using list comprehensions

List comprehensions are about 100 ms slower than hard coding - seen in
runtime difference between init_hseams() and init_vseams()