Planarization and apex angle control for write head fabrication using SOG