An Algorithm for Indoor Photo Diode-based Visible Light Positioning