Parallel Tree-SPH: A Tool for Galaxy Formation