getVariable function

Return SFDF variable at specified locations