fix lanczos solver for symmetric matrix and distarray dot numpy array code