Marta Kostyuk credited her mother Talina Beiko - a former tennis player herself - with her impressive form on clay as she captured the Madrid Masters title.