fixing random vector in epetra adapter