Single sector write.

Single sector write is now fully functional.