Patch2

Extending functionality of is_parallel method to more than two lines.