To fix a calcium deficiency you can treat by foliar feeding with one teaspoon of dolomite lime or Garden lime per quart of water, Or Any Chemical/Organic nutrients that have Calcium in them will fix a Calcium deficiency.
you can take crushed up dolomite lime or garden lime in a gallon of water and water it in the soil. 1 to 2 teaspoons per gallon of water, which will be slow acting. Garden Gypsum, which is medium absorption. Limestone, which is medium absorption, Rock Phosphate and Animal wastes which are both medium/slow absorption. Note: Caution when using gypsum to an already acid soil (pH that is less than 5.5) can have a very bad effect on different types of plants by effecting the absorption of soil aluminum, which is poison to plant roots.
Solution to fixing a Magnesium deficiency
Any Chemical/Organic nutrients that have Magnesium in them will fix a Magnesium deficiency. (Only mixing at ½ strength when using chemical nutrients or it will cause nutrient burn!)
Other nutrients that have magnesium in them are: Epsom salts, which is fast absorption. Dolomite lime and or garden lime (same thing just called different) which is slow absorption. Sulfate of Potash, Magnesia which is medium absorption. Worm Castings, which is slow absorption. Crabshell which is slow absorption. Earth Juice Mircoblast, which is fast acting.