Added DAS and ARR functionalily, and highly improved the way left and right shifting is handled.