An investigation of the parameters involved in solar distillation