Computational Aspects of Nearly Single-Peaked Electorates