Gravar-mail: A Parallel Nonrigid Registration Algorithm Based on B-Spline for Medical Images