Large basis sets and geometry optimizations in embedded cluster calculations