Added code to free up memory allocated in the ReadAligner