The Use of Vedic Mathematics in Modular Arithmetic and Prime Factorisation