[FIX] changed spdiags to dot times because of singles incompatibility