Implementing ELLPACK