fix grappa algebra
improve grappa + frontend connection