redoing linear motif calculations