Removed a redundant typecast in DropoutLayer

This removes the duplicate typecast in `DropoutLayer`, as discussed in #64.