If you have an ec meter, I would just add calmag to 0.4-0.5ec, then your nutes. You need about 150-180mg calcium and  50-60mg magnesium. Presoak coco in 1.5ish calmag overnight or about 6 hours. For treating mag deficiency only, to fine tune later in the grow, dissolve 250g of Epsom in 1L and add 1ml to each litre of nutes to add another 32mg or so of magnesium.