Added functions for dslash