Test / Prac Coding - Calculates the remainder vector