Array sizes fixed. Line source test added.