* optimized gpu algorithm copied to dropout