ENH: Add dtype parameter to linspace and logspace functions.

Also fixed up PEP8 format in related files